package com.hualude.roadsign.model;

import javax.persistence.*;

/**
 * Created by xu_jiaHui on 2017/12/9.
 */
@Entity
@Table(name = "tb_port_red_rule", schema = "hualude_db", catalog = "")
public class PortRedRuleEntity {
    private Integer redRuleId;
    private Integer ruleModelId;
    private String redRuleMark;
    private Integer redRuleLevel;
    private String redRuleName;
    private String redRuleContent;
    private String redRuleStatus;
    private String redRuleFlag;
    private String redRuleTag;

    public PortRedRuleEntity() {
    }

    public PortRedRuleEntity(Integer redRuleId, Integer ruleModelId, String redRuleMark, Integer redRuleLevel, String redRuleName, String redRuleContent, String redRuleStatus, String redRuleFlag, String redRuleTag) {
        this.redRuleId = redRuleId;
        this.ruleModelId = ruleModelId;
        this.redRuleMark = redRuleMark;
        this.redRuleLevel = redRuleLevel;
        this.redRuleName = redRuleName;
        this.redRuleContent = redRuleContent;
        this.redRuleStatus = redRuleStatus;
        this.redRuleFlag = redRuleFlag;
        this.redRuleTag = redRuleTag;
    }

    @Id
    @Column(name = "RedRuleId")
    @GeneratedValue ( strategy = GenerationType.IDENTITY )
    public Integer getRedRuleId() {
        return redRuleId;
    }

    public void setRedRuleId(Integer redRuleId) {
        this.redRuleId = redRuleId;
    }

    @Basic
    @Column(name = "RuleModelId")
    public Integer getRuleModelId() {
        return ruleModelId;
    }

    public void setRuleModelId(Integer ruleModelId) {
        this.ruleModelId = ruleModelId;
    }

    @Basic
    @Column(name = "RedRuleMark")
    public String getRedRuleMark() {
        return redRuleMark;
    }

    public void setRedRuleMark(String redRuleMark) {
        this.redRuleMark = redRuleMark;
    }

    @Basic
    @Column(name = "RedRuleLevel")
    public Integer getRedRuleLevel() {
        return redRuleLevel;
    }

    public void setRedRuleLevel(Integer redRuleLevel) {
        this.redRuleLevel = redRuleLevel;
    }

    @Basic
    @Column(name = "RedRuleName")
    public String getRedRuleName() {
        return redRuleName;
    }

    public void setRedRuleName(String redRuleName) {
        this.redRuleName = redRuleName;
    }

    @Basic
    @Column(name = "RedRuleContent")
    public String getRedRuleContent() {
        return redRuleContent;
    }

    public void setRedRuleContent(String redRuleContent) {
        this.redRuleContent = redRuleContent;
    }

    @Basic
    @Column(name = "RedRuleStatus")
    public String getRedRuleStatus() {
        return redRuleStatus;
    }

    public void setRedRuleStatus(String redRuleStatus) {
        this.redRuleStatus = redRuleStatus;
    }

    @Basic
    @Column(name = "RedRuleFlag")
    public String getRedRuleFlag() {
        return redRuleFlag;
    }

    public void setRedRuleFlag(String redRuleFlag) {
        this.redRuleFlag = redRuleFlag;
    }

    @Basic
    @Column(name = "RedRuleTag")
    public String getRedRuleTag() {
        return redRuleTag;
    }

    public void setRedRuleTag(String redRuleTag) {
        this.redRuleTag = redRuleTag;
    }
}
